Failed
Scenario: Start event broker for all scenarios.Scenario: Start event broker for all scenarios (from org.eclipse.kapua.service.device.integration.RunBrokerACLI9nTest)
Failing for the past 3 builds
(Since Unstable
)
Error Message
Could not initialize class org.eclipse.kapua.commons.event.ServiceEventBusManager
Stacktrace
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.kapua.commons.event.ServiceEventBusManager
Standard Output
############################################################################### # Copyright (c) 2017 Eurotech and/or its affiliates and others # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html # # Contributors: # Eurotech - initial API and implementation ############################################################################### @brokerAcl Feature: Broker ACL tests These tests are validating correct access control rights of broker security. User with one or more profile connects to the broker and tries to issue actions such as publish and subscribe to topics, manage topic. Based on his profile these actions are successful or not. -- Profile: broker connect B device manage DEV_M data view DATA_V data manage DATA_M -- ACL tests: B DEV_M DATA_V DATA_M CTRL_ACC_REPLY X/P/A X/P/A X/P/A X/P/A CTRL_ACC X/X/X S/P/A X/X/X X/X/X CTRL_ACC_CLI S/P/A S/P/A S/P/A S/P/A ACL_DATA_ACC X/X/X X/X/X S/X/A S/P/A ACL_DATA_ACC_CLI S/P/A S/P/A X/P/X S/P/A ACL_CTRL_ACC_NOTIFY X/P/X X/P/X X/P/X X/P/X -- Topics ({0} account name, {1} client id): CTRL_ACC_REPLY = $EDC.{0}.*.*.REPLY.> CTRL_ACC_CLI_MQTT_LIFE_CYCLE = $EDC.{0}.{1}.MQTT.> CTRL_ACC = $EDC.{0}.> CTRL_ACC_CLI = $EDC.{0}.{1}.> ACL_DATA_ACC = {0}.> ACL_DATA_ACC_CLI = {0}.{1}.> ACL_CTRL_ACC_NOTIFY = $EDC.{0}.*.*.NOTIFY.{1}.> 06:40:14.219 [main] INFO o.eclipse.kapua.qa.steps.BasicSteps - Wait multiplier active: 4.0 06:40:14.225 [main] INFO org.eclipse.kapua.qa.steps.DBHelper - Setting up mock database 06:40:14.233 [main] INFO org.reflections.Reflections - Reflections took 4 ms to scan 12 urls, producing 839 keys and 852 values 06:40:14.421 [ActiveMQ BrokerService[message-broker] Task-2] INFO o.a.a.broker.TransportConnection - Stopping null because Failed with SecurityException: An internal error occurred: org.apache.shiro.ShiroException: Error while find user!. 06:40:14.431 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing pre master files... 06:40:14.431 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Master Liquibase files found: 3 06:40:14.431 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-authorization-master.pre.xml 06:40:14.441 [ActiveMQ BrokerService[message-broker] Task-3] INFO o.a.a.broker.TransportConnection - Stopping null because Failed with SecurityException: An internal error occurred: org.apache.shiro.ShiroException: Error while find user!. 06:40:14.457 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-event-store-master.pre.xml 06:40:14.480 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-system-configurations-master.pre.xml 06:40:14.498 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing pre master files... DONE! 06:40:14.499 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing master files... 06:40:14.499 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Master Liquibase files found: 10 06:40:14.499 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-account-master.xml 06:40:14.540 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-authentication-master.xml 06:40:14.587 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-authorization-master.xml 06:40:14.730 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-broker-master.xml 06:40:14.751 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-datastore-master.xml 06:40:14.787 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-device-management-master.xml 06:40:14.804 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-device-master.xml 06:40:14.890 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-stream-master.xml 06:40:14.903 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-tag-master.xml 06:40:14.974 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-user-master.xml 06:40:15.028 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing master files... DONE! 06:40:15.028 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing post master files... 06:40:15.028 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Master Liquibase files found: 0 06:40:15.029 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing post master files... DONE! 06:40:15.029 [main] INFO o.e.k.qa.steps.EmbeddedEventBroker - Starting new instance 06:40:15.291 [main] INFO o.a.activemq.artemis.core.server - AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=target/artemisxZSRp2fNRHiqE6Wpbj3F-w/data/journal,bindingsDirectory=data/bindings,largeMessagesDirectory=data/largemessages,pagingDirectory=data/paging) 06:40:15.337 [main] INFO o.a.activemq.artemis.core.server - AMQ221045: libaio is not available, switching the configuration into NIO 06:40:15.383 [main] INFO o.a.activemq.artemis.core.server - AMQ221057: Global Max Size is being adjusted to 1/2 of the JVM max size (-Xmx). being defined as 520,880,128 06:40:15.450 [main] INFO o.a.activemq.artemis.core.server - AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE 06:40:15.451 [main] INFO o.a.activemq.artemis.core.server - AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: AMQP 06:40:15.632 [main] INFO o.a.activemq.artemis.core.server - AMQ221020: Started EPOLL Acceptor at 127.0.0.1:5672 for protocols [AMQP] 06:40:15.632 [main] INFO o.a.activemq.artemis.core.server - AMQ221007: Server is now live 06:40:15.632 [main] INFO o.a.activemq.artemis.core.server - AMQ221001: Apache ActiveMQ Artemis Message Broker version 2.2.0 [localhost, nodeID=0b6e304d-c88b-11e8-8d18-002590fd0404] 06:40:18.174 [Camel (camelContext) thread #26 - JmsConsumer[notProcessableMessage]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'notProcessableMessage' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 06:40:18.175 [Camel (camelContext) thread #12 - JmsConsumer[Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.%3E]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.>' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 06:40:18.175 [Camel (camelContext) thread #25 - JmsConsumer[storeGenericException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeGenericException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 06:40:18.175 [Camel (camelContext) thread #23 - JmsConsumer[storeConfigurationException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeConfigurationException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 06:40:18.175 [Camel (camelContext) thread #21 - JmsConsumer[storeCommunicationException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeCommunicationException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist.